extends "../ruihe-2/ruihe-2.gd"


func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("我方舰载机双攻提高50点", "最后的精锐")


var index = 0
func _upS():
	._upS()
	index += 1
	if index >= 2:
		index = 0
		for i in getAllChas(2):
			if i.isSumm and i.hasBuff("b_ruihe3") == null:
				castBuff(i, b_ruihe3.new())

class b_ruihe3:
	extends "../../../../azurlane_ctrl/AzurBuff.gd"
	func _init():
		attInit()
		id = "b_ruihe3"
		buffName = "最后的精锐"
		att.atk = 50
		att.mgiAtk = 50
	func _connect():
		if casCha.upgraded == 2:
			att.atk = 100
			att.mgiAtk = 100